package com.googlecode.garbagecan.commons.clistudy.ftp;

public class PutCommand implements Command {

	private String localFile;
	private String remoteFile;
	
	public PutCommand(String localFile, String remoteFile) {
		this.localFile = localFile;
		this.remoteFile = remoteFile;
	}
	
	public String execute() {
		System.out.println("put " + this.localFile + " " + this.remoteFile);
		return CMD_SUCCESS;
	}
	
	public String getLocalFile() {
		return localFile;
	}

	public void setLocalFile(String localFile) {
		this.localFile = localFile;
	}
	
	public String getRemoteFile() {
		return remoteFile;
	}

	public void setRemoteFile(String remoteFile) {
		this.remoteFile = remoteFile;
	}

}
